package indi.zhifa.study2024.class002.busy.generalTest.enums.person;

import indi.zhifa.study2024.core.enummemo.entity.ann.EnumDesc;
import lombok.Data;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc(name = "性别",desc = "用户的性别",defaultIdx = 1,defaultItem = "未选择")
public enum EGender {

    UN_KNOW(0,"未知","用户没有选择性别"),
    MALE(1,"男","英俊的男性"),
    FEMALE(2,"女","可爱的女性");

    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String desc;
}
